package org.popo.scheduled;

import org.popo.BasciTask;

import com.taobao.api.ApiException;
import com.taobao.api.request.RefundsReceiveGetRequest;
import com.taobao.api.response.RefundsReceiveGetResponse;

public class RefundTask extends BasciTask {
	public void checkRefund() {
		RefundsReceiveGetRequest req = new RefundsReceiveGetRequest();
		req.setFields("refund_id, tid, buyer_nick,oid");
		req.setStatus("WAIT_SELLER_AGREE");
		try {
			RefundsReceiveGetResponse response = client.execute(req, SESSION_KEY);
		} catch (ApiException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}
